package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_glodorder
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
public class SysGlodorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String orderid;

    /** $column.columnComment */
    @Excel(name = "名称")
    private String title;

    /** $column.columnComment */
    private Long userid;

    /** $column.columnComment */
    @Excel(name = "充值金额")
    private String cash;

    /** $column.columnComment */
    @Excel(name = "充值方式", readConverterExp = "1=微信,2=支付宝,3=未知")
    private Integer from;


    private Float glods;

    /** $column.columnComment */
    @Excel(name = "订单号")
    private String tradeno;

    /** $column.columnComment */
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date insertdate;

    /** $column.columnComment */
    @Excel(name = "状态", readConverterExp = "1=已付款,0=未付款,2=已完成")
    private Integer state;

    public String getFstr() {
        return fstr;
    }

    public void setFstr(String fstr) {
        this.fstr = fstr;
    }

    public String getSstr() {
        return sstr;
    }

    public void setSstr(String sstr) {
        this.sstr = sstr;
    }

    private  String fstr;
    private  String sstr;

    public void setOrderid(String orderid) 
    {
        this.orderid = orderid;
    }

    public String getOrderid() 
    {
        return orderid;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

    public void setCash(String cash) 
    {
        this.cash = cash;
    }

    public String getCash() 
    {
        return cash;
    }

    public void setFrom(Integer from)
    {
        this.from = from;
    }

    public Integer getFrom()
    {
        return from;
    }

    public void setGlods(Float glods)
    {
        this.glods = glods;
    }

    public Float getGlods()
    {
        return glods;
    }

    public void setTradeno(String tradeno) 
    {
        this.tradeno = tradeno;
    }

    public String getTradeno() 
    {
        return tradeno;
    }

    public void setInsertdate(Date insertdate) 
    {
        this.insertdate = insertdate;
    }

    public Date getInsertdate() 
    {
        return insertdate;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    public Long getCurrentsecond() {
        return currentsecond;
    }

    public void setCurrentsecond(Long currentsecond) {
        this.currentsecond = currentsecond;
    }

    private  Long currentsecond;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    @Excel(name = "充值账号")
    private  String username;
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderid", getOrderid())
            .append("title", getTitle())
            .append("userid", getUserid())
            .append("cash", getCash())
            .append("from", getFrom())
            .append("glods", getGlods())
            .append("tradeno", getTradeno())
            .append("insertdate", getInsertdate())
            .append("state", getState())
            .toString();
    }
}
